/*
 *
 *
 */

#ifndef GKT_HMAC_H
#define GKT_HMAC_H

#include "gkt_crypto.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef enum _gkt_hmac_type {
	GKT_HMAC_SHA1 = 0,
	GKT_HMAC_SHA256,
	GKT_HMAC_MAX
} gkt_hmac_type_e;

int gkt_hmac(gkt_hmac_type_e type,
		const uint8_t *key, uint32_t key_len,
		const uint8_t *msg, uint32_t msg_len,
		uint8_t *hash);

#ifdef __cplusplus
}
#endif

#endif	/* GKT_HMAC_H */

